//
//  TicketViewBG.m
//  pa
//
//  Created by HaiJiao Chen on 12-7-30.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "TicketViewBG.h"

@implementation TicketViewBG
- (void)drawRect:(CGRect)rect
{
    [super drawRect:rect];
    CGContextRef g = UIGraphicsGetCurrentContext();
    UIGraphicsPushContext(g);
    CGContextSetFillColorWithColor(g, [UIColor blackColor].CGColor);
    CGContextFillRect(g, CGRectMake(107, 0, 1, self.frame.size.height));
    CGContextFillRect(g, CGRectMake(548, 0, 1, self.frame.size.height));
    CGContextFillRect(g, CGRectMake(602, 0, 1, self.frame.size.height));
    CGContextFillRect(g, CGRectMake(715, 0, 1, self.frame.size.height));
    CGContextFillRect(g, CGRectMake(811, 0, 1, self.frame.size.height));
    UIGraphicsPopContext();
}
- (void)dealloc
{
    [super dealloc];
}
@end
